<?php require_once(__DOCROOT__ . __SUBDIRECTORY__ . '/admin/view/shared/layout.header.tpl.php'); ?>

<div class="row-fluid">
    <div class="span8 offset2">
        <div class="page-header">
            <h1><?php _p($this->mctProjectGallery->TitleVerb); ?> Project Image</h1>
        </div>
        <?php $this->RenderBegin() ?>
        <fieldset>
            <?php $this->objAlert->Render(); ?>
            <div class="control-group">
                <label class="control-label" for="<?php _p($this->objPreview->ControlId); ?>"><?php _p($this->objPreview->Name); ?></label>
                <div class="controls">
                    <?php $this->objPreview->RenderWithError(); ?>
                    <?php $this->objFileUploadDialog->Render(); ?>
                    <br><br><?php $this->btnUpload->Render('CssClass="btn btn-info"', 'HtmlEntities="false"'); ?> <?php $this->btnDelete->Render('CssClass="btn btn-danger"', 'HtmlEntities="false"'); ?>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="<?php _p($this->txtDescription->ControlId); ?>"><?php _p($this->txtDescription->Name); ?></label>
                <div class="controls">
                    <?php $this->txtDescription->RenderWithError('CssClass="input-xxlarge"'); ?>
                </div>
            </div>
            <div class="form-actions">
                <?php $this->btnSave->Render('CssClass="btn btn-primary"'); ?>
                <button type="reset" class="btn">Cancel</button>
                <?php $this->objDefaultWaitIcon->Render('CssClass="text-warning"'); ?>
            </div>
        </fieldset>
        <?php $this->RenderEnd() ?>
    </div>
</div>

<?php require_once(__DOCROOT__ . __SUBDIRECTORY__ . '/admin/view/shared/layout.footer.tpl.php'); ?>